//
//  ColorPickerGameScene.h
//  CanYouDoIt
//
//  Created by hoangtx on 7/13/13.
//
//

#ifndef CanYouDoIt_ColorPickerGameScene_h
#define CanYouDoIt_ColorPickerGameScene_h

#include "CountDownGameScene.h"
#include "MySpriteButton.h"
using namespace cocos2d;

class ColorPickerGameScene: public CountDownGameScene{
public:
    CCArray* buttonArray;
    virtual void onTapButton(CCObject* sender);
    void setTheRightColorForButton(MySpriteButton* button,int colorIndex);
    static CCScene* scene(int numberOfSeconds);
    virtual void startGame();
    virtual void reset();

    
    virtual void ccTouchesBegan(CCSet* touches, CCEvent* pEvent);
    virtual void ccTouchesMoved(CCSet* touches, CCEvent* pEvent);
    virtual void ccTouchesEnded(CCSet* touches, CCEvent* pEvent);
    static ColorPickerGameScene* create(int numberOfSeconds);
    virtual bool init();
    CREATE_FUNC(ColorPickerGameScene);
};


#endif
